﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace TowerDefenseXNA___Aula_1___1703
{
    class Stage : Objeto
    {
        public int bgSourceX;
        public Stage(Texture2D imagem, GameWindow Window) : base(imagem,Window)
        {
            //bgSourceX = -100;
        }//Stage
        public override void Update(GameTime gameTime)
        {
            
        }
        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(this.imagem, new Rectangle(bgSourceX, 0, this.imagem.Width, this.imagem.Height), Color.White);
        }
    }
}
